You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="5724" ns="0" title="Main Page">
        <revisions>
          <rev user="Noreen Lyell" timestamp="2024-02-29T19:16:16Z" comment="" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">This wiki contains course information for 20.109 and 20.309

You can reach the main pages for each course here:
* [[20.109(S24):Spring_2024_schedule| 20.109 Main Page]]
* [[20.309 Main Page]].

There really should be some more interesting information on this page.</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>